package com.upstairstechnology.oi.determination;

import java.util.Set;
import java.util.TreeSet;

/**
 * Factory methods to create outstanding integrations.
 * 
 * @author Jeff Jensen
 */
public class OutstandingIntegrationFactory {
    /**
     * Factory method.
     * 
     * @return A new instance.
     */
    public static OutstandingIntegration newInstance() {
        OutstandingIntegration oi = new OutstandingIntegration();
        return oi;
    }

    /**
     * Make an empty set of outstanding integrations.
     * 
     * @return An empty set of outstanding integrations.
     */
    public static Set<OutstandingIntegration> makeEmptySet() {
        return new TreeSet<OutstandingIntegration>();
    }

    /**
     * Factory method to create outstanding integration file.
     * 
     * @return A new instance.
     */
    public static OutstandingIntegration.File newFile() {
        OutstandingIntegration.File file = new OutstandingIntegration.File();
        return file;
    }

    /**
     * Make an empty set of outstanding integrations.
     * 
     * @return An empty set of outstanding integrations.
     */
    public static Set<OutstandingIntegration.File> makeEmptyFileSet() {
        return new TreeSet<OutstandingIntegration.File>();
    }
}
